import kgRequest from '@/service'

// 启动 App Space 服务
export function executeCommandApi(data = {}) {
  return kgRequest.post({
    url: '/api/file/executeCommand',
    data
  })
}
// 关闭 App Space 服务
export function stopCommandApi(data = {}) {
  return kgRequest.post({
    url: '/api/file/stopCommand',
    data
  })
}
// 检测 App Space 服务是否加载完成
export function exeLineApi(data = {}) {
  return kgRequest.post({
    url: '/api/file/exeLine',
    data
  })
}
